package com.mercury.game.service.impl;

import com.mercury.game.entity.DialogCommend;
import com.mercury.game.entity.DialogCommendChoice;
import com.mercury.game.mapper.DialogCommendChoiceMapper;
import com.mercury.game.service.DialogCommendChoiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 童雅婷
 * @since 2021-11-25
 */
@Service
public class DialogCommendChoiceServiceImpl extends ServiceImpl<DialogCommendChoiceMapper, DialogCommendChoice> implements DialogCommendChoiceService {

    @Override
    public List<DialogCommend> getResponse(int id) {
        List<DialogCommend> commendList = baseMapper.getResponse(id);
        return commendList;
    }
}
